very fun puzzle! i think this is the fastest rate you can get while only having 2 equal pipeline, you can definitely go lower but I believe that will involve having separate pipeline for each metal grade, this solve is doing it by ignoring it entirely and treating all of the metal as lead, giving it 5 quicksilver each even if it's a higher metal by disposing the leftover. this is just R*2 twice because i'm lazy so it's definitely possible to get cheaper method.